<?php
/**
 * Description of category
 *
 * @author luubk
 * @since 09-08-2012 - 07:05:46
 */
?>


<?php get_header(); ?>
<!-- content -->
<div class="content">
    <div class="container_12">
        <div class="grid_3">
            <?php get_sidebar('left'); ?>            
        </div>

        <!-- item -->
        <div class="grid_9">

            <!-- div slide -->            
            <?php get_template_part('slider'); ?>

            <!-- div items-->
            <div class="content_items content_category">
                <div class="content_nameproduct">
                    <?php echo wp_title('') ?>
                </div>
                <hr>

                <div>
                    <?php
                    $tpl = the_category_ID(false) == 16 ? 'news' : 'product';
                    get_template_part('category', $tpl);
                    ?>
                </div>
                <br/>
                <?php echo wp_pagenavi(); ?>
            </div>            
        </div>
        <!-- ote, -->
    </div>
</div>
<!-- end of content -->    
<?php get_footer(); ?>

<?php
/**
 * End of category
 */